package cn.itsource.pet.service;

import cn.itsource.base.util.AjaxResult;
import cn.itsource.pet.domain.SearchMasterMsg;
import cn.itsource.base.service.IBaseService;
import cn.itsource.pet.domain.dto.AcceptDto;
import cn.itsource.pet.domain.dto.SearchDto;
import cn.itsource.pet.query.SearchMasterMsgQuery;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zcj
 * @since 2023-11-09
 */
public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    AjaxResult publish(SearchMasterMsg searchMasterMsg);

    AjaxResult getMyPublishPets(Long userId);

    AjaxResult toSearchMasterPool(SearchMasterMsgQuery query);

    AjaxResult shopReceivePet(SearchDto dto, Long loginId);

    AjaxResult toHandle(SearchMasterMsgQuery query,Long logininfoId);

    AjaxResult reject(Long searchMsgId);

    AjaxResult accept(AcceptDto acceptDto,Long logininfoId);
}
